package simple.example;

public class MethodOverloading 
{
	String Concatinate(String str1, String str2)
	{
		String ReturnString = str1 + ' ' + str2;
		return ReturnString;
	}

	int Concatinate(int int1, int int2)
	{
		int ReturnInt = int1 + int2;
		return ReturnInt;
	}
}


class CallMtdOvr
{

	public static void main(String[] args)
	{
		MethodOverloading object1 = new MethodOverloading();
		System.out.println("This is an example of Method Overloading.");
		String ResultStr = object1.Concatinate("ARIJIT", "ALUNI");
		int ResultInt = object1.Concatinate(10, 15);
		System.out.println("Result of String Concatination is " + ResultStr);
		System.out.println("Result of two number addition is " + ResultInt);
	}
}